package com.esun.payment_api.service.impl;

import com.esun.payment_api.service.CommonService;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;

@Repository
public class CommonServiceImpl implements CommonService {

    @Resource
    JdbcTemplate jdbcTemplate;

    @Override
    public void insertOne(String sql) {
        jdbcTemplate.update(sql);
    }
}
